package cn.wans.service.impl;

import cn.wans.dao.UserDao;
import cn.wans.service.UserService;

/**
 * @author wans
 * @create 2022-10-21 19:57
 */
public class UserServiceImpl implements UserService {
    private UserDao userDao;

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    public boolean login(String name, String password) {
        return userDao.login(name,password);
    }
}
